projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04d7d81
)
Cast to gchar* to fix a compilation warning
author
Javier Jardón
<jjardon@gnome.org>
Sat, 24 Oct 2009 15:09:01 +0000
(17:09 +0200)
committer
Javier Jardón
<jjardon@gnome.org>
Sun, 25 Oct 2009 21:14:12 +0000
(22:14 +0100)
gdk-pixbuf/io-pnm.c
patch
|
blob
|
history
diff --git
a/gdk-pixbuf/io-pnm.c
b/gdk-pixbuf/io-pnm.c
index 2f9fbaa729917fdfed6c40fe39d213dd2fd8660e..f86826e6788348fb969772a5c4598ec140ac3f2e 100644
(file)
--- a/
gdk-pixbuf/io-pnm.c
+++ b/
gdk-pixbuf/io-pnm.c
@@
-242,7
+242,7
@@
pnm_read_next_value (PnmIOBuffer *inbuf, gint max_length, guint *value, GError *
return PNM_SUSPEND;
/* get the value */
- result = strtol (buf, &endptr, 10);
+ result = strtol (
(gchar *)
buf, &endptr, 10);
if (*endptr != '\0' || result < 0 || result > G_MAXUINT) {
g_set_error_literal (error,
GDK_PIXBUF_ERROR,